package com.baizhi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Comment {
    private Integer cId;
    private Integer pId;
    private String content;
    private Date createTime;


    private School school;
    private User user;
    private List<Comment> commentList =new ArrayList<>();
}
